package com.zhoux.mvc.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 
 * @author zhoux
 *	所有实际处理业务的action都继承该类
 */
public interface Action {
	/**
	 * xml方式记载配置文件
	 * @param request
	 * @param response
	 * @param xmlBean
	 */
//	public void execute(HttpServletRequest request,HttpServletResponse response,XmlBean xmlBean);
	/**
	 * 使用注解的方式接口映射地址
	 * @param request
	 * @param response
	 */
	public void execute(HttpServletRequest request,HttpServletResponse response);

}
